@layout("/common/_container.html",{css:["/assets/common/module/city-picker/city-picker.css"],js:["/assets/common/module/city-picker/city-picker.data.js","/assets/common/module/ueditor/ueditor.config.js","/assets/common/module/ueditor/ueditor.all.js","/assets/modular/recy/bins/bins_edit.js","/assets/common/libs/rapid-validator/prototype_for_validation.js","/assets/common/libs/rapid-validator/validation_cn.js","/assets/common/libs/rapid-validator/tooltips.js"]}){
<div class="layui-body-header">
    <span class="layui-body-header-title">修改回收箱</span>
</div>

<div class="layui-container" style="">
    <form id="binsForm" lay-filter="binsForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
        <input name="id" type="hidden" id="id"/>
        <div class='layui-form-item'>
            <div class="layui-inline">
                <label class="layui-form-label">回收箱名称</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="name" name="name" placeholder="回收箱名称" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">所在区域</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="area" name="area" placeholder="所在区域" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">所在村</label>
                <div class="layui-input-block">
                    <select name="areaNext" id="areaNext" lay-search>

                    </select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">详细地址</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="address" name="address" placeholder="详细地址" type="text" class="layui-input   required" autocomplete="off"/>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">GPS位置</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="gpsInfo" name="gpsInfo" placeholder="GPS位置" type="text" class="layui-input" autocomplete="off"/>
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">投放使用时间</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="useTime" name="useTime" placeholder="投放使用时间" type="text" class="layui-input  datetime-input required" />
                </div>
            </div>
            <div class="layui-inline"><label for="">支持回收的类别</label>
                <div class="layui-input-block">
                    @for(wasteType in wasteTypeList){
                    <input type="checkbox" name="wasteTypeCheckbox" id="${wasteType.id}" value="${wasteType.id}" title="${wasteType.typeName}">
                    @}
                    <input type="hidden" name="wasteTypes" id="wasteTypes">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">消杀开始时间</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="xsBeginTime" name="xsBeginTime" placeholder="消杀开始时间" type="text" class="layui-input  date-input required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">消杀结束时间</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="xsEndTime" name="xsEndTime" placeholder="消杀结束时间" type="text" class="layui-input  date-input required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">每次消杀时间（分钟）</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="xsTime" name="xsTime" placeholder="每次消杀时间（分钟）" type="text" class="layui-input  validate-number required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">消杀间隔时间（分钟）</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="xsTimeGap" name="xsTimeGap" placeholder="消杀间隔时间（分钟）" type="text" class="layui-input  validate-number required" />
                    <input type="text" name="statusDesc" id="statusDesc" class="layui-hide">
                </div>
            </div>


        </div>
        <div class="layui-form-item text-right">
            <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
            <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog" id="backupPage">返回</button>
        </div>
    </form>
</div>

@}